<template>
	<view class="content">
		<view class="header">
			<view class="header_bg">
				<view class="search">
					<image src="../../../static/home/search.png" mode=""></image>
					<input type="text" value="" placeholder="搜素" />
				</view>
			</view>

			<view class="buy">
				<view class="buylist">
					<text>购买人数：120人</text>
				</view>
				<view class="buylist">
					<text>购买人数：120人</text>
				</view>
			</view>

			<view class="select">
				<view class="select1">
					<text>年级选择</text>
				</view>
				<view class="select1">
					<text>班级选择</text>
				</view>
			</view>


			<view class="characteristic_list" v-for="(item,index) in characteristiclist">
				<view class="characteristic_list_left">
					<view class="characteristic_list1">
						<text>学生姓名：{{item.name}}</text>
					</view>
					<view class="characteristic_list1">
						<text>订单号：{{item.nmb}}</text>
					</view>
					<view class="characteristic_list1">
						<text>购买课时：{{item.ks}}</text>
					</view>
				</view>

				<view class="characteristic_list_right">
					<text>已购买</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				characteristiclist:[
					{
						id:0,
						name:'王老师',
						nmb:'1323213213213',
						ks:'1',
						state:'1'
					},
					{
						id:0,
						name:'王老师',
						nmb:'1323213213213',
						ks:'1',
						state:'1'
					},{
						id:0,
						name:'王老师',
						nmb:'1323213213213',
						ks:'1',
						state:'1'
					},
				]
			}
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		width: 750rpx;
		height: 100vh;
		background: #FAFAFA;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.header {
		width: 750rpx;
		height: 216rpx;
		background: linear-gradient(180deg, #1789FF 0%, #93C3F9 100%);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.header_bg {

		padding-top: 32rpx;
	}

	.search {
		width: 690rpx;
		height: 88rpx;
		background: #FFFFFF;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		display: flex;
		align-items: center;
		margin: auto;
	}

	.search image {
		width: 34rpx;
		height: 34rpx;
		margin-left: 24rpx;
	}

	.search input {
		margin-left: 30rpx;
	}

	.buy {
		width: 690rpx;
		height: 88rpx;
		background: #FFFFFF;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		margin: 32rpx auto 32rpx;
		display: flex;
	}

	.buylist {
		width: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.select {
		width: 690rpx;
		height: 88rpx;
		display: flex;
		margin: auto;
		justify-content: space-between;
	}

	.select1 {
		width: 332rpx;
		height: 88rpx;
		background: #FFFFFF;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.characteristic_list {
		width: 690rpx;
		height: 228rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(164, 164, 164, 0.2);
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		margin: 40rpx auto 40rpx;
		display: flex;
		align-items: center;
	}

	.characteristic_list_left {
		padding-top: 16rpx;
		margin-left: 32rpx;
	}

	.characteristic_list1 {
		display: flex;
		align-items: center;
		margin-top: 16rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: bold;
		font-size: 32rpx;
		color: #333333;
	}

	.characteristic_list_right {
		width: 144rpx;
		height: 56rpx;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		border: 2rpx solid #146DF4;
		margin-left: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #146DF4;

		margin-right: 32rpx;
	}
</style>